package com.hotelManagerSystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Cynthia
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RoomOrder implements Serializable {

    private static final long serialVersionUID=1L;

    public Date getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(Date checkInTime) {
        this.checkInTime = checkInTime;
    }

    public Date getCheckOutTime() {
        return checkOutTime;
    }

    public void setCheckOutTime(Date checkOutTime) {
        this.checkOutTime = checkOutTime;
    }

    /**
     * 房间预订ID
     */
    @TableId(value = "room_order_id", type = IdType.AUTO)
    private Integer roomOrderId;

    /**
     * 用户ID
     */
    private Integer uid;

    /**
     * 预订编号（订单号）
     */
    private String orderNum;

    /**
     * 登记入住时间
     */
    private Date checkInTime;

    /**
     * 退房时间
     */
    private Date checkOutTime;

    /**
     * 预订状态
     */
    private Integer orderState;

    /**
     * 房间ID
     */
    private Integer roomId;

    /**
     * 用户反馈
     */
    private String feedback;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getRoomOrderId() {
        return roomOrderId;
    }

    public void setRoomOrderId(Integer roomOrderId) {
        this.roomOrderId = roomOrderId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }
}
